package lab02.test13;

class School extends ComputerAverage{


   @Override

    double average2() {

               System.out.println("选手的平均分为："+this.average1());

             return 0;

          }

          @Override

  double average1() {

             double sum=0;

             for (j=1;j<=n;j++)

                sum=sum+a[j];

               return sum/n;

          }

}
